cmake_minimum_required(VERSION 3.27)
project(metapushstream7)

set(CMAKE_CXX_STANDARD 14)

include_directories(.)
include_directories(.)
include_directories(../../include)
include_directories(bperpush)
include_directories(video)
set(CMAKE_PREFIX_PATH $ENV{QTDIR593MSVC2017_64})
find_package(Qt5 COMPONENTS Core Gui Qml Quick REQUIRED)
#A将源代码的路径定义变量，便于后面add_executable命令将代码文件加入工程
target_link_libraries(${PROJECT_NAME}  Qt5::Core Qt5::Gui Qt5::Qml Qt5::Quick)
add_executable(metapushstream7
        bperpush/BPerPushCapture.cpp
        bperpush/BPerPushEncoder.cpp
        bperpush/BPerPushEncoder.h
        bperpush/BPerPushFactory.cpp
        bperpush/BPerPushHandleImpl.cpp
        bperpush/BPerPushHandleImpl.h
        bperpush/BPerPushMessageHandle.cpp
        bperpush/BPerPushMessageHandle.h
        bperpush/BPerPushPublish.cpp
        bperpush/BPerRtcPublish.cpp
        bperpush/BPerSendVideoImpl.cpp
        bperpush/BPerSendVideoImpl.h
        video/BPerPlayWidget.cpp
        video/BPerPlayWidget.h
        video/BPerrecordthread.cpp
        video/BPerrecordthread.h
        video/BPerrecordvideowin.cpp
        video/BPerrecordvideowin.h
        video/BPervideotype.h
        video/BPerYuvPlayWidget.cpp
        video/BPerYuvPlayWidget.h
        BPerjanus.cpp
        BPerjanus.h
        main.cpp
        recordmainwindow.cpp
        recordmainwindow.h)
